SELECT
<#switch (select__object__id!)>
	<#case "endDaTi">
T.END_DA_TI AS endDaTi
	<#break>
	<#case "orderNum">
T.ORDER_NUM AS orderNum
	<#break>
	<#case "code">
T.CODE AS code
	<#break>
	<#case "url">
T.URL AS url
	<#break>
	<#case "id">
T.ID AS id
	<#break>
	<#case "parentId">
T.PARENT_ID AS parentId
	<#break>
	<#case "dataOptions">
T.DATA_OPTIONS AS dataOptions
	<#break>
	<#case "siteId">
T.SITE_ID AS siteId
	<#break>
	<#case "stateId">
T.STATE_ID AS stateId
	<#break>
	<#case "name">
T.NAME AS name
	<#break>
	<#case "target">
T.TARGET AS target
	<#break>
	<#case "beginDaTi">
T.BEGIN_DA_TI AS beginDaTi
	<#break>
	<#case "typeId">
T.TYPE_ID AS typeId
	<#break>
	<#default>
COUNT(1) AS COUNT_
</#switch>
FROM FD_NAVIGATION T
<#include "whereNavigationBy1.ftl">